package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.common.context.LoginUser;
import com.atguigu.lease.web.admin.vo.login.CaptchaVo;
import com.atguigu.lease.web.admin.vo.login.LoginVo;
import com.atguigu.lease.web.admin.vo.system.user.SystemUserInfoVo;

public interface LoginService {

    /**
     * @author gengjian
     * @date 2024/12/13 20:02:14
     * 获取图形验证码
     */
    CaptchaVo getCaptcha();

    /**
     * @author gengjian
     * @date 2024/12/13 23:33:22
     * 登录功能
     */
    String login(LoginVo loginVo);

    /**
     * @author gengjian
     * @date 2024/12/14 08:32:48
     * 获取登录用户用户姓名和头像
     */
    SystemUserInfoVo getLoginUserInfo(LoginUser loginUser);

}
